﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataEntity;
using DataAccess;
using System.Diagnostics;
using System.Web.UI.WebControls;

namespace BusinessLogic.Controller
{
    public partial class PropertyController
    {
        public List<GetPropertyByLoginIDResult> GetPropertyByLoginID(Guid LoginID)
        {
            try
            {

                return new DataProvider().GetPropertyByLoginID(LoginID);
            }
            catch
            {
                return new List<GetPropertyByLoginIDResult>();
            }
        }
        public List<GetPropertyByLoginIDResult> GetPropertyByLoginID(Guid LoginID, int PageSize, int PageNumber)
        {
            try
            {

                return new DataProvider().GetPropertyByLoginID(LoginID, PageSize, PageNumber);
            }
            catch
            {
                return new List<GetPropertyByLoginIDResult>();
            }
        }
    }
}
